﻿@model  BankData  
@using (Html.BeginForm())
{
    <div id="dealsapcontainer">
        @Html.Hidden("Id", ViewData["Id"])
        <div class="layout-onecolumn">
            <div class="editor-label">
                @Html.LabelFor(model => model.CustomerName)
            </div>
            <div class="editor-field">
                @Html.TextSearch(m => m.CustomerName, "getCustomer()")
                @Html.ValidationMessageFor(model => model.CustomerName)
            </div>
        </div>
        <div class="layout-onecolumn">
            <div class="editor-label">
                @Html.LabelFor(model => model.CustomerCode)
            </div>
            <div class="editor-field">
                @Html.TextBoxReadOnlyFor(model => model.CustomerCode)
                @Html.ValidationMessageFor(model => model.CustomerCode)
            </div>
        </div>
    </div>
}